package com.plc.commentity;

public class SerialEntity {

    /**
     * 端口
     */
    private String portId;
    /***
     * 比特率
     */
    private int bitRate;
    /**
     * 数据位
     */
    private int dataBit;
    /**
     * 停止位
     */
    private int stopBit;
    /**
     * 奇偶校验位
     */
    private String checkBit;
    /***
     * 数据格式
     */
    private String format;


    public String getPortId() {
        return portId;
    }

    public void setPortId(String portId) {
        this.portId = portId;
    }

    public int getBitRate() {
        return bitRate;
    }

    public void setBitRate(int bitRate) {
        this.bitRate = bitRate;
    }

    public int getDataBit() {
        return dataBit;
    }

    public void setDataBit(int dataBit) {
        this.dataBit = dataBit;
    }

    public int getStopBit() {
        return stopBit;
    }

    public void setStopBit(int stopBit) {
        this.stopBit = stopBit;
    }

    public String getCheckBit() {
        return checkBit;
    }

    public void setCheckBit(String checkBit) {
        this.checkBit = checkBit;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }
}
